package com.education.platform.dao;

import com.education.platform.common.dao.BaseDao;
import com.education.platform.dao.model.UserBaseModel;
import org.springframework.stereotype.Repository;
import com.education.platform.dao.entity.UserBaseDO;

import java.util.List;

/**
* describe: 前端用户基础表
* @author : tomato
* @date: 2020-06-07 11:38:44.106
**/
@Repository
public interface UserBaseDao extends BaseDao<UserBaseDO> {



    List<UserBaseDO> getUserBseListByIds(List<Integer> ids);


    List<UserBaseModel> getByCondition(UserBaseModel query);

    /**
     * 修改版本
     * @param
     * @param
     */
    void updateVersion(UserBaseDO userBaseDO);

    /**
     * 查询推送
     * @param device
     * @return
     */
    List<UserBaseDO> getPushMessage(String device,int from,int size);
}